package iedcyt.acute.controller.listeners.mainWindow;

import iedcyt.acute.model.MainWindowModel;
import iedcyt.acute.view.MainWindowView;

import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;

public class ClearMessageListener extends SelectionAdapter {

	private MainWindowModel _model;
	private MainWindowView _view;
	
	public ClearMessageListener(MainWindowView view, MainWindowModel model) {
		this._model = model;
		this._view = view;
	}
	
	@Override
	public void widgetSelected(SelectionEvent event) {
		_view.clearMessage();
	}
}
